<template>
  <div class="right">
    <goods-list-item v-for="item in goods" :goods-item="item" :key="item.id" />
  </div>
</template>

<script>
import GoodsListItem from './goodsListItem'
export default {
  name: 'goodsList',
  components: {
    GoodsListItem
  },
  props: {
    goods: {
      type: Array,
      default() {
        return []
      }
    }
  }
}
</script>

<style lang="less" scoped>
.right {
  position: relative;
  padding-top: .15rem;
}
</style>
